function showEmail(email, name, shift) {
  var result = "";

  for(var index = 0; index < email.length; index++) {
    result += String.fromCharCode(email.charCodeAt(index) + shift);
  }

  document.write('<a href="mailto:' + result + '">' + name + '</a>');
}
